﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Q_SMS.Response
{
    /// <summary>
    /// 群发回执
    /// </summary>
    public class SMSMultiResult : SMSResult
    {
        /// <summary>
        /// 用户的session内容，腾讯server回包中会原样返回
        /// </summary>
        [JsonProperty("ext")]
        public string Ext { set; get; }
        /// <summary>
        /// 群发包
        /// </summary>
        [JsonProperty("detail")]
        public ICollection<Detail> detail { set; get; }
    }
    /// <summary>
    /// 群发单个回执
    /// </summary>
    public class Detail : SMSResult
    {
        /// <summary>
        /// 手机号码
        /// </summary>
        [JsonProperty("mobile")]
        public string Mobile { set; get; }
        /// <summary>
        /// 国家码
        /// </summary>
        [JsonProperty("nationcode")]
        public string NationCode { set; get; }
        [JsonProperty("sid")]
        public string Sid { set; get; }
        /// <summary>
        /// 短信计费的条数
        /// </summary>
        [JsonProperty("fee")]
        public string Fee { set; get; }
    }
}
